package ch08;

/**
 * Created by hasee on 2017/6/19.
 */
public class Book2 {
    protected int pages;
    public Book2 (int numPages)
    {
        pages = numPages;
    }
    public void setPages (int numPages)
    {
        pages = numPages;
    }
    public int getPages ()
    {
        return pages;
    }
}
